//package com.ruoyi.project.bi.controller;
//
//import com.ruoyi.common.utils.SecurityUtils;
//import com.ruoyi.project.bi.util.BaseController;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.security.auth.Subject;
//
//@RestController
//@RequestMapping(value = "/frame")
//public class LogoutController extends BaseController {
//
//	@RequestMapping(value="/Logout.action")
//	public @ResponseBody Object logout(){
//		Subject subject = SecurityUtils.getSubject();
//		if (subject != null) {
//	        try{
//	            subject.logout();
//	        }catch(Exception ex){
//	        	ex.printStackTrace();
//	        }
//	    }
//		return super.buildSucces();
//	}
//}
